package oa.hleast.xswl.pojo.domain.pms;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import oa.hleast.common.base.BaseEntity;

import java.util.ArrayList;
import java.util.List;

@Data
public class PmsCategorySpec extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long categoryId;
    private String name;
    private Long userId;

    @TableField(exist = false)
    private List<PmsSpuSpecValue> values = new ArrayList<>();

}
